<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>iframe</title>
</head>
<body>
    <nav>
        <!-- target 属性 
        1._blank
        2._self
        3.自定义ifram 的name属性值
        -->
        <a href="https://163.com" target="web1">163</a>
        <a href="https://qq.com" target="web2">qq</a>
        <a href="https://sina.com">sina</a>
        <a href="./index.html" target="web1">首页</a>
    </nav>
    <p>我的网页</p>
    <span>哈哈</span>
    <!-- iframe是行内元素 inline -->
    <iframe name="web1" src="http://baidu.com" frameborder='1' width="800px" height="800px" marginwidth="50" scrolling="yes"></iframe>
    <span>呵呵</span>
    <br>
    <iframe name="web2" src="http://so.com" frameborder='1' width="800px" height="800px" marginwidth="50" scrolling="yes"></iframe>
</body>
</html>